<template>
  <div>
    <index />
<!--    首页-->
<!--    {{ user.username }}-->
  </div>

</template>

<script setup lang="ts">
import Index from '/src/views/Index.vue'
import userStore from '@/store/modules/user'
const user = userStore()
import encryptionService from "@/utiles/encryption";
// 在组件加载时调用加密服务并打印结果
const encryptedText = encryptionService.encrypt('admin')
console.log('Encrypted Text:', encryptedText)
// 在组件加载时调用加密服务并打印结果
const decryptedText = encryptionService.decrypt(encryptedText)
console.log('DecryptedText Text:', decryptedText)
</script>

<style scoped>

</style>
